How many types of variables are there?
Answer / Jeenat
In Java, there are primarily four types of variables: instance (non-static) variables, static variables, local variables, and array elements.
| Is This Answer Correct ? | 0 Yes | 0 No |
Scenario: There are 1 to 100 numbers. Each number should be keep in the each column like from A column to Z column ie 1 to 26. From 27 to 52 should be in 2nd row in the excel sheet. This has to be continue till 100. How do you write Java program and what are various methods.
What is difference between static variable and global variable?
Hi Friends, can you give difference between extending thread class and implementing runnable interface.
class A{ m2(){ } } class B extends A{ m2(){ } } class c extends B{ m2(){ } } class my_class extends c{ m2(){ } pulic static void main(){ ...My_class a = new my_class(); super.super.super.m2(); is this is leagal if not find what is the legal procedure in order to call A's version of m2(); }
What is clipping and repainting and what is the relation between them?
What is the use of conditional statement?
How can you share data between two thread in Java?
Explain tree set and its features?
What is the purpose of the system class in java?
Why stringbuilder is not thread safe?
What is the need of transient variables in Java ?
What is meant by JVM ?