|
Advertisement
|
Forum posts by instanceof java:Posted in All Buzz Forum, Jul 11, 2015, 3:18 AM
Java Versions, Features and History Released on 23 January 1996, JDK 1.0 version. Released on 19 February 1997 JDK 1.1 version.New features in JDK 1.1 JDBC (Java Database Connectivity) Inner Classes Java Beans RMI (Remote Method Invocation) Reflection (introspection only) Released on 8 December 1998 J2SE 1.2 version.New features in J2SE 1.2...
Posted in Java Buzz Forum, Jul 11, 2015, 3:18 AM
Java Versions, Features and History Released on 23 January 1996, JDK 1.0 version. Released on 19 February 1997 JDK 1.1 version.New features in JDK 1.1 JDBC (Java Database Connectivity) Inner Classes Java Beans RMI (Remote Method Invocation) Reflection (introspection only) Released on 8 December 1998 J2SE 1.2 version.New features in J2SE 1.2...
Posted in All Buzz Forum, Jun 28, 2015, 2:03 PM
Yes. We can overload static methods in java.Method overriding is not possible but method overloading is possible for static methods.Before that lets see about method overloading in java.Method overloading: Defining multiple methods with same name and with different arguments is known as method overloading.Multiple methods with same name...
Posted in Java Buzz Forum, Jun 28, 2015, 2:03 PM
Yes. We can overload static methods in java.Method overriding is not possible but method overloading is possible for static methods.Before that lets see about method overloading in java.Method overloading: Defining multiple methods with same name and with different arguments is known as method overloading.Multiple methods with same name...
Posted in All Buzz Forum, Jun 28, 2015, 12:03 PM
Exact answer is NO. We can not override static methods.Before discussing this topic lets see what is static in java. Static methods in java: Static means class level if we declare any data or method as static then those data(variables) and methods belongs to that class at class level.Static variables and static methods belongs to...
Posted in Java Buzz Forum, Jun 28, 2015, 12:03 PM
Exact answer is NO. We can not override static methods.Before discussing this topic lets see what is static in java. Static methods in java: Static means class level if we declare any data or method as static then those data(variables) and methods belongs to that class at class level.Static variables and static methods belongs to...
Posted in All Buzz Forum, Jun 27, 2015, 6:02 PM
Return type in java:Basically return type is used in java methods.Method signature includes this return type.public int show(){ // }we will use methods to do a particular task after completion of task if we want to return something to the calling place these return types will be used.Based on the type of data to be returned will mention it as...
Posted in Java Buzz Forum, Jun 27, 2015, 6:02 PM
Return type in java:Basically return type is used in java methods.Method signature includes this return type.public int show(){ // }we will use methods to do a particular task after completion of task if we want to return something to the calling place these return types will be used.Based on the type of data to be returned will mention it as...
Posted in All Buzz Forum, Jun 27, 2015, 4:02 PM
If statement :if statement in java is decision making statement in java.if statement will have a condition and if that condition is true then the corresponding block will be executed.if(condition){ // }If condition syntax:if(condition){// statements} Sample program on if statement:package com.instanceofjava; import...
Posted in Java Buzz Forum, Jun 27, 2015, 4:02 PM
If statement :if statement in java is decision making statement in java.if statement will have a condition and if that condition is true then the corresponding block will be executed.if(condition){ // }If condition syntax:if(condition){// statements} Sample program on if statement:package com.instanceofjava; import...
Posted in All Buzz Forum, Jun 27, 2015, 2:03 PM
1.What is the most Important feature of java?Java is platform independent language.2.What do you mean by Platform Independence?Platform Independence you can run and compile program in one platform and can execute in any other platform.3.What is JVM(Java Virtual Machine)?JVM is Java Virtual Machine which is a run time Environment for the...
Posted in Java Buzz Forum, Jun 27, 2015, 2:03 PM
1.What is the most Important feature of java?Java is platform independent language.2.What do you mean by Platform Independence?Platform Independence you can run and compile program in one platform and can execute in any other platform.3.What is JVM(Java Virtual Machine)?JVM is Java Virtual Machine which is a run time Environment for the...
Posted in All Buzz Forum, Jun 24, 2015, 1:51 PM
Long Wrapper Class:Long Class is presented in java.lang package.java.lang.Long class is used to represent primitive Long Value to Long object.Long Class :Float Class Definitionpublic final class Longextends Number implements Comparable<Long>Constructors:1.Long(long value):The Constructor Long(long value) represents the specified long...
Posted in Java Buzz Forum, Jun 24, 2015, 1:51 PM
Long Wrapper Class:Long Class is presented in java.lang package.java.lang.Long class is used to represent primitive Long Value to Long object.Long Class :Float Class Definitionpublic final class Longextends Number implements Comparable<Long>Constructors:1.Long(long value):The Constructor Long(long value) represents the specified long...
Posted in All Buzz Forum, Jun 18, 2015, 6:37 PM
Float class is presented in java.lang packagejava.lang.Float class is used to represent primitive float value to Float object.Float Class Definitionpublic final class Floatextends Numberimplements Comparable<Float> Float Class Constructors1.public Float(double value)2.public Float(float value)3.public Float(String s) throws...
|