Today I learn new programming language python. It is an Popular language. What is python? Python is an high level programming language. It is both object oriented and procedure oriented language. History? Created by Guido van Rossum in 1991.The author is big fan on tv show”Monty Python’s “. So the name python is created. Features?Continue reading “Python introduction-1”
Author Archives: revaetti
Oops(inheritance &abstract class)
Inheritance We leran anything,first we know that the question why, what, how, when. What is inheritance? An object of one class acting as an object of another class. When I go for inheritance? When there is an “IS-A” Relationship between two classes, we can go for inheritance. How inheritance achieving in java? We use “extends”Continue reading “Oops(inheritance &abstract class)”
While loop
What is while loop? Java while loop is a control flow statement that allows code to be executed repeatedly based on a given Boolean condition. The while loop can be thought of as a repeating if statement. syntax: Example program1: // Given a num, returns how many times can we divide it by 2 toContinue reading “While loop”
Method and if Statment (day-7)
What is method: Method is a sequence of instructions with the name. Main method is a execution starting point. Ex: OpenEclipse() { 1.start on 2. Eclipse type 3.click the button 4.launch } Modularity: Modularity To the concept of making multiple first and then linking and combining them to From a complete system. Use:editing easy andContinue reading “Method and if Statment (day-7)”
Methods and static keyword (day-6)
Methods: A java method is Collection of statement that are grouped together to perform an operation. *methods= behavior. How jdk identify a method is starting with the symbol (). Main methods: Main method= important activity. Example: bike. Main method have method body or method definition within the open and close brackets. Jvm starts reading theContinue reading “Methods and static keyword (day-6)”
Day-3 learning java
Today we learn about datatypes. Datatypes are two types: 1.primetive datatypes 2.Non primitive datatypes Primitive datatypes: Java having 8 primitive datatypes.thats are:integer, float, char, boolean, long, double, byte, short. 1.integer: An integer is a whole number that can be passitive, negative or zero. It has 4 bytes of memory space and range=-2147483648 to 2147483647. Float:Continue reading “Day-3 learning java”
Day-2 learning Java
Open source: Java is a open source. It is free and anyone can access. Ex: c, C++,c#,python. Closed source: Closed source is unsecure. Version control system: It can be thought as a Database of changes. It contains all the edits and historical version of the project. Ex:GITHUB.com Difference between c, c++and Java: 1.c and c++Continue reading “Day-2 learning Java”
My learning experience
This is my first blog, I shared my java learning experience. Today’s agenda: ~What is java? ~Why learn java? ~Java complier Java interpreter ~Byte code ~Java virtual machine ~Java runtime environment ~Just in time ~Java development kit ~How to works Java What is Java? Java is high level programming language. It is pure object orientedContinue reading “My learning experience”