Advertisement
Nickname
instanceof
Registered since:
January 12, 2015
Short bio:
 
Home page:
 
Total posts:
576

Forum posts by instanceof java:

39 pages [ Previous 1 ... 25 26 27 28 29 30 31 32 33 34 35 Next ]
Posted in Java Buzz Forum, Jul 25, 2015, 2:24 PM
try block:The functionality of try keyword is to identify an exception object.And catch that exception object and transfer the control along with the identified exception object to the catch block by suspending the execution of the try block.All the statements which are proven to generate exceptions should be place in try block.Syntax of try...
Posted in All Buzz Forum, Jul 25, 2015, 3:37 AM
1.what is static in java?Static is a keyword in java.One of the Important keyword in java.Clear understanding of static keyword is required to build projects.We have static variables, static methods , static blocks. Static means class level.2.Why we use static keyword in java?Static keyword is mainly used for memory management.Static...
Posted in Java Buzz Forum, Jul 25, 2015, 3:37 AM
1.what is static in java?Static is a keyword in java.One of the Important keyword in java.Clear understanding of static keyword is required to build projects.We have static variables, static methods , static blocks. Static means class level.2.Why we use static keyword in java?Static keyword is mainly used for memory management.Static...
Posted in All Buzz Forum, Jul 21, 2015, 6:04 PM
1.Why Map interface doesn’t extend Collection interface?Set is unordered collection and does not allows duplicate elements.List is ordered collection allows duplicate elements.Where as Map is key-value pair.It is viewed as set of keys and collection of values.Map is a collection of key value pairs so by design they separated from collection...
Posted in Java Buzz Forum, Jul 21, 2015, 6:04 PM
1.Why Map interface doesn’t extend Collection interface?Set is unordered collection and does not allows duplicate elements.List is ordered collection allows duplicate elements.Where as Map is key-value pair.It is viewed as set of keys and collection of values.Map is a collection of key value pairs so by design they separated from collection...
Posted in All Buzz Forum, Jul 19, 2015, 9:34 AM
Static final variable java example:If we declare any variable as static means it is class level variable.If we declare any variable as static final its class level variable and its value can not be changed final static variables are constants in java.We can access these final static variables directly without using object or class name.We...
Posted in Java Buzz Forum, Jul 19, 2015, 9:34 AM
Static final variable java example:If we declare any variable as static means it is class level variable.If we declare any variable as static final its class level variable and its value can not be changed final static variables are constants in java.We can access these final static variables directly without using object or class name.We...
Posted in All Buzz Forum, Jul 12, 2015, 4:02 PM
Lets discuss about what are the common functionalities everyone needs when developing a application and what are the classes we require mostly to rectify common problems.Exceptions: Exception classes are very important in every java project,Finding the places where the chances of occurring exception and placing in try and in catch block...
Posted in Java Buzz Forum, Jul 12, 2015, 4:02 PM
Lets discuss about what are the common functionalities everyone needs when developing a application and what are the classes we require mostly to rectify common problems.Exceptions: Exception classes are very important in every java project,Finding the places where the chances of occurring exception and placing in try and in catch block...
Posted in All Buzz Forum, Jul 12, 2015, 2:03 PM
We can not override private methods in java.The basic inheritance principle is when we are extending a class we can access all non private members of a class so private members are private to that class only we can not access anywhere outside the class if we declare anything as private.Know more information about access specifiers here Class...
Posted in Java Buzz Forum, Jul 12, 2015, 2:03 PM
We can not override private methods in java.The basic inheritance principle is when we are extending a class we can access all non private members of a class so private members are private to that class only we can not access anywhere outside the class if we declare anything as private.Know more information about access specifiers here Class...
Posted in All Buzz Forum, Jul 12, 2015, 12:04 PM
Common interview question everybody facing in interviews is can we call sub class method using super class object? or can we call child class method using parent class? or can a super class call a subclass' method.The answer is No. but still we can say yes. so we need to what are all those scenarios of calling sub class method from super class...
Posted in Java Buzz Forum, Jul 12, 2015, 12:04 PM
Common interview question everybody facing in interviews is can we call sub class method using super class object? or can we call child class method using parent class? or can a super class call a subclass' method.The answer is No. but still we can say yes. so we need to what are all those scenarios of calling sub class method from super class...
Posted in All Buzz Forum, Jul 11, 2015, 8:05 PM
Yes we can create a class as static. But class should be inner class or nested class.We know how to create static methods, static variables and static blocks.As Java Supports defining a class within a class we can create a static inner class inside a class.This inner static class inside a class can access static members of outer class even its...
Posted in Java Buzz Forum, Jul 11, 2015, 8:04 PM
Yes we can create a class as static. But class should be inner class or nested class.We know how to create static methods, static variables and static blocks.As Java Supports defining a class within a class we can create a static inner class inside a class.This inner static class inside a class can access static members of outer class even its...
39 pages [ Previous 1 ... 25 26 27 28 29 30 31 32 33 34 35 Next ]
Advertisement