Home Tutorialhelp Comment why java doesnot support global concept

 
 

Comment

srujan kumar
why java doesnot support global concept,
October 24, 2009 at 12:38 PM

will u make it clear with an example and show me what will happen if we use global variable in java with example
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Java Beginners

Why does Java not support operator overloading?
Why does Java not support operator overloading?  Hi, Why does Java not support operator overloading? thanks 

Java Beginners

why java does not support multiple inheritance - Java Beginners
why java does not support multiple inheritance  hello friend, i...().show1(1,2); new A4().show1(3); } }  Hi Friend, Java does... complexity.Therefore java does not support it directly. Thanks 

Java Tips and Examples

New to Java?
New to Java?       If you are new to Java technology and you want to learn Java and make career... tried to put support examples related to each Java technology that will help you 

Java Beginners

IO concept
IO concept  Write a java program that moves the contents of the one...[] args) throws Exception { File f1=new File("C:/data.txt"); File f2=new File("D:/data.txt"); BufferedReader br=new BufferedReader(new 

Java Beginners

Java + Timer concept - Java Beginners
Java + Timer concept  sir, I am using swing based model. My form... concept.  Hi Friend, Try the following code: import java.awt.... Test() { JFrame frame = new JFrame("Swing Progress Bar"); button 

Java Beginners

Java Array Values to Global Varibles - Java Beginners
Java Array Values to Global Varibles  I am working on a program that provides users with 3 loan options. If global variables rate and periods..., 15, 30}; int choice; BufferedReader dataIn = new BufferedReader(new 

Java Beginners

Why is super.super.method(); not allowed in Java?
Why is super.super.method(); not allowed in Java?  Why is super.super.method(); not allowed in Java 

Java Beginners

Explain the concept of thread priorities in Java.
Explain the concept of thread priorities in Java.  Explain the concept of thread priorities in Java 

Java Beginners

OOPS Concept Abstraction with example - Java Beginners
OOPS Concept Abstraction with example  I am new to java. In java OOPS concept Abstraction means abstract or something. Please explain it with one example  Hi Friend, The process of abstraction in Java is used 

Java Interview Questions

Java Inheritance Concept.
Java Inheritance Concept.  Yesterday i got confused with following question in an aptitude exam. Question:Class A,B,C have method named doit(). Class B extends Class A,Class C extends Class B.How will you call method doit 

Java Beginners

Java is an opensource program or not? why???
Java is an opensource program or not? why???  Java is an open source program or not.. why 

Java Interview Questions

why zero? - Java Interview Questions
why zero?  import java.util.Scanner; public class Simple { public static void main(String[] args) { Scanner scanner = new Scanner(System.in...(); int sum = 0; int []numbers=new int[numNumber]; int highest=numbers[0]; int 

Java Beginners

Does Java support multiple inheritance?
Does Java support multiple inheritance?  Hi, Does Java support multiple inheritance? thanks   hi, Please visit the following link: http://www.roseindia.net/java/language/inheritance.shtml Hope 

Programming Tutorials

EJB, Enterprise java bean- Why EJB (Enterprise Java Beans)?
Why EJB (Enterprise Java Beans)?        Enterprise Java Beans or EJB for short is the server-side component architecture for the Java 2 Platform 

Java Beginners

Building and Running Java 8 Support
Building and Running Java 8 Support  As you know Java 8 is already released and available for download. Now I am developer of Java based projects. So... is not providing JDK 8 support out of the box. So, can any one tell me how to build 

General

New to programming...
Are you New to Java Programming Language? Learn the how you can Java programming language? Java is one of the popular programming language... global with java as it is highly suited to internet environment. # Be a real 

Java Beginners

Java Query(based on swing concept)
Java Query(based on swing concept)  I want a particular submit button to get disabled whenever i write some account number starting with 774 and 775 in a text box of that screen 

Java Beginners

concept Understatnding problem - Java Beginners
concept Understatnding problem  Even though I have studied in detail inheritance & interfaces in java , I fail to understand "How Interfaces Help in Multiple Inheritance ?" . Pls. Supplement ur ans. with an example. Thanx 

Java Interview Questions

why java is securable ?
why java is securable ?  why java is securable ?   Hi Friend, Java is secured because of following reasons: 1) It doesn't allow... is executed under JAVA Runtime Environment which has several Security related checking 

Java Beginners

Why bufferedreader is used in java?
Why bufferedreader is used in java?  Hi, What is the use of BufferedReader class in Java? why bufferedreader is used in java? It will be great if anyone can give me the example code of BufferedReader class in java. Thanks 

Java Beginners

New To JAVA - Java Beginners
New To JAVA  hi iam new to java..,can you please guide me how to learn the java and also tell me how many days it takes to learn java  Hi... will get more information about java. Read more detail. http 

JSP Servlet Questions

unicode support in javascript - JSP-Servlet
unicode support in javascript  We are facing problem while editing... in java scripts object , . Here sample code here, // We have... = "batchUpdate"; } else{ //alert("NEW upload 

Java-Tutorials

Concept of Inheritance in Java
Concept of Inheritance in Java Concept of Inheritance in Java is considered... class from parent class. Let's understand the concept of inheritance in Java.... Multilevel inheritance can go up to any number of levels. Java does not support 

Programming Tutorials

New to Java - New to java tutorial
Technical description of Java Mail API       This section introduces you with the core concepts of Java Mail API. You must understand the Java Mail API before actually delving 

Java Beginners

SOCKET PROGRAMING IN THE JAVA FOR NETWORKING CONCEPT
SOCKET PROGRAMING IN THE JAVA FOR NETWORKING CONCEPT  I WANT TO KNOW ABOUT THE JAVA SOCKET PROGRAMING FROM BASIC LEVEL AND HOW CAN I WORK ON IT I KNOW THE JAVA PROGRAMING.SO PLEASE HELP ME HOW CAN I DO SOCKET PROGRAMING 

General

Why Java as a programming Language?
Why Java as a programming Language?       Why Java as a  programming Language? Java is a general... operating system. The whole technology is based on the concept of Java Virtual 

JDK 6 Tutorials

New Features of JAVA SE 6.
New Features of JAVA SE 6.   .... Changes in I/O This is a new feature added in Java SE 6, which has... in JAVA SE 6 and JPDA has been added. Some new Methods are included like boolean 

Hibernate Tutorial Example

Why hibernate is used?
Why hibernate is used? Hibernate is leading ORM solutions for developing... Hibernate saves the development time Hibernate allows to map the Java...) Hibernate provides primary and secondary level caching support Can 

Java Beginners

What is a pointer and does Java support pointers?
What is a pointer and does Java support pointers?   Hi, What is a pointer and does Java support pointers? Thanks   Hi, Pointer... to memory leaks and reliability issues hence Java doesn't support the usage of pointers 

Ajax Questions

new java technologies 2012
new java technologies 2012  new java technologies 2012 

JDBC Questions

java [ cannot retrive date from sql ] why??
java [ cannot retrive date from sql ] why??   import...(8,10); StringBuilder sb=new StringBuilder (); sb.append(d...(); getdate=sb.toString(); SimpleDateFormat sdf=new SimpleDateFormat("dd-MM 

Java Beginners

NEW IN JAVA - Java Beginners
NEW IN JAVA  Suppose you are asked to design a software tool... static void main(String[] args) throws Exception { Scanner scan = new Scanner(System.in); Random random1 = new Random(); Random random2 = new Random(); int 

XML Tutorials

Why XML?, Why XML is used for?
Why XML? In this section we will understand the importance of XML and see Why... the structured data into XML files. There are various uses of the XML files. Why XML... and style sheet. Many databases are providing the support for XML database 

Java Beginners

why my keyevent not function ? - java swing -
why my keyevent not function ? - java swing -   import java.awt.... void main(String[] args) { Calculator frame = new Calculator... = new JLabel( "First Number: ", JLabel.CENTER ); jlblSecond = new JLabel 

Java Beginners

why my keyevent not function ? - java swing -
why my keyevent not function ? - java swing -   import java.awt.... void main(String[] args) { Calculator frame = new Calculator... = new JLabel( "First Number: ", JLabel.CENTER ); jlblSecond = new JLabel 

Ajax Questions

new java technologies 2011
new java technologies 2011  what are the new java technologies in 2011 

JSP Interview Questions

add new package java
add new package java  How to add new package in Java 

Java Beginners

Why the null Pointer exception is comming? - Java Beginners
Why the null Pointer exception is comming?  My code is given below... { BufferedReader bf = new BufferedReader(new FileReader("Replace1.csv")); BufferedReader bf1 = new BufferedReader(new FileReader("Replace.txt 

Java Interview Questions

why the occupancy rate is zero? - Java Interview Questions
why the occupancy rate is zero?  import java.util.Scanner; public... totalVacant; double occupancyRate; Scanner keyboard=new Scanner(System.in...); } } why the occupancy rate is always zero? please help. tq.  Hello 

PHP Tutorial

Why PHP ?
Why PHP? Reasons to use PHP are given below: 1.    PHP is open.... Virtual hosting, large file support are the main features of web servers. Every... complex data exchange, Java objects, and CORBA 

Java-Tutorials

Java tutorial for beginners
. Here is why a Java beginner should work on Java language and not any other.... Learning Java is becoming first choice among new programmers as it is the most...Java tutorials for beginners will help them learn the basic of Java 

Java Beginners

Java
Java  Why in java the concept of Multiple Inheritance is not used...? why interface has been used...? Clearly explain me with good example 

Java Interview Questions

java
java  why java is platform independence? why it does not support multiple inheritence 

Java Beginners

New to Java Please help
New to Java Please help  Hi I need help, can some one help me.... Thanks!   If you are new in java, then you need to learn core java concepts.So go through the following link: Core Java Tutorials Here, you will find 

Java Beginners

Javadoc 1.5 Customtag Support - Java Beginners
Javadoc 1.5 Customtag Support  Hi, I'm Using Java 1.5 version and my requirement is to generate Javadoc for my custom tag(fcb.param). I'm Using doclet tool(Eclipse Javadoc Generator) for generating javadoc. its working fine 

Java Beginners

why java program not run with msword editor
why java program not run with msword editor  if java program write in MICROSOFT WORD then why they are not run with jdk 

Java Beginners

why we use constructors instead of methods in java?
why we use constructors instead of methods in java?   why we use constructors instead of methods in java 

Java Beginners

Why doesn't Java allow overriding of static methods?
Why doesn't Java allow overriding of static methods?  Why doesn't Java allow overriding of static methods 

Java Beginners

Very new to Java
Very new to Java   hi I am pretty new to java and am wanting to create a programe for the rhyme 10 green bottles. 10 green bottles standing on the wall 10 green bottles standing on the wall and if 1 green bottle should 

Java Beginners

[Mini-Project] Develop a programmer's editor in Java that supports syntax highlighting, compilation support, debugging support, etc.
[Mini-Project] Develop a programmer's editor in Java that supports syntax highlighting, compilation support, debugging support, etc.  Please reply me sir 

Java Beginners

im new to java - Java Beginners
im new to java  what is the significance of public static void main... for a java class to execute it as a command line application. public- It provide...- It specifies the return type. main- This method in java is designed 

Java Beginners

why java file save as its class name
why java file save as its class name  hi,this is subbareddy vajrala.my doubt is why java files save as its class names 

Development process Questions

wrapper class concept
wrapper class concept  Write a Java class that stores an integer item id, a string item name and a float price. Store all these in a String member Variable, separated by a space delimiter. Use an overloaded method to add 

Web Services

Why Web Services?
Why Web Services? In this section of WebServices tutorials series we will understand why Web Services are developed and what are the benefits of using Web Services for  the development of  Enterprise applications. Why 

Hibernate Interview Questions

what is java and why do i need it?
what is java and why do i need it?  Hi, Please tell me what is Java and why do i need it? Is it free to download? Also explain me how to write and test my first Java Application? What is the configuration or system requirement 

Java Beginners

opening new browser with new JSESSIONID using java
opening new browser with new JSESSIONID using java  I am facing following problem, I am trying to open a new browser using java. First i have opened one IE browser and manually. And i ran my LaunchURL.java file, it is opening new 

Struts Examples

Why Struts 2
Why Struts 2       The new version Struts...; - Actions are simple POJOs. Any java class with execute() method can be used... 2 can use Java 5 annotations as an alternative to XML and Java properties 

Java Server Faces Questions

unable to find resource 'VM_global_library.vm' - Java Server Faces Questions
unable to find resource 'VM_global_library.vm'  pls help me, I am... template : VM_global_library.vm Tue Aug 12 12:03:54 CAT 2008 [error] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. Tue 

Java Beginners

why we use abstract class in java?
why we use abstract class in java?  what is the the purpose of abstract class.Give example when to use abstract and when use interface 

General

How to add JDK 8 support in Eclipse?
Learn how to update Eclipse and add the JDK 8 support? This tutorial explains you the process of adding JDK 8 support in Eclipse IDE with the help... support plug-in from Eclipse updates website. JDK 8 is recently released 

Java Beginners

what fastest DataStructre(efficient) in java? and why? - Java Beginners
what fastest DataStructre(efficient) in java? and why?  what is the fastest data Structres in java? and how,why compare to other DataStructer from other 

Java Beginners

BRICK-BREAKER game concept - Java Beginners
 

Java Interview Questions

Which java collection to use in scenario below and Why?
Which java collection to use in scenario below and Why?  I want to store thousands of record in a collection and later I want to search. For best and optimized results, which collection will I prefer 

Java Beginners

why we use design patterns in java?Example?
why we use design patterns in java?Example?  Hi..... Why we use design patterns?,why they are needed in programming languages?,advantages?   hi friend, please go through the following links may this will be helpful 

Java Beginners

Thread concept
it runs two, three, one and so on why this happens? can anyone help me thx in advance friends. Happy new year!!!!! class Newthread3 implements Runnable{ Thread t; String name; Newthread3(String threadname){ name=threadname; t=new Thread 

Java Beginners

java
java  why java does not support inheritance?   Java does not support multiple inheritance directly but it supports multiple inheritance... complexity.Therefore java does not support it directly 

General

The new keyword in java
The new keyword in java In this section you will learn about new keyword in java. The new keyword is used to create a instance of a class. The new keyword...; A ob1 = new A(12,56); Shape ob2 = new Shape(ob,32,98); First line creates 

Java Beginners

pointers in java - Java Beginners
pointers in java  Why pointers concept are not used in java 

Java Beginners

java
java  why java cannot use multiple inheritance   Hi Friend, Java does not support multiple inheritance directly but it supports multiple... complexity.Therefore java does not support it directly. Thanks 

JDK 6 Tutorials

What are New Features in JAVA SE 6
of the most exciting new features of the JAVA SE 6 is support for the Java API for XML...Here are the new features of the version 6 of the Java Standard Edition (SE... web services. The latest Java SE 6 provides new adds parsing and XML to Java 

Struts Questions

why servlet as controller - Struts
why servlet as controller   Hi Friends, Main reasons for using servlet as a controller in struts. why not jsp . Thanks Prakash  Hi Friend, JSP is again a servlet which is having HTML syntax with java support.All 

Java Beginners

Java create new array of strings.
Java create new array of strings.  Java create new array of strings.   Example: public class StringArray { public static void main... (eg. int,char,float etc). For example String name[]=new String[7 

Java Beginners

new String(text) - Java Beginners
(text): In this Case Java will create a new String object in normal (non-pool...new String(text)  Please, what is the difference between this.text = text; and this.text = new String(text); in the example: public 

Java Beginners

java
java   Why we didnot write constructors in interfaces   interface is like a pure abstract class, though it is not a class at all. An interface is simply a contract that a class agrees to support. It cannot 

Java Interview Questions

regarding interview in java
regarding interview in java  why java doesnot suppor muliple inheritance   Java does not support multiple inheritance directly... it will take.It creates complexity.Therefore java does not support it directly 

Java Beginners

Why application server is important?
Why application server is important?  Hi, I have to select the good application server for running my Java based web applications. Which application server or tomcat container is good to run the application. On my website 

Java Beginners

java - Java Beginners
); } } into Java coding.since java doesnot support pass by reference 

Programming Tutorials

Java: Why aren't Java GUIs easier?
Java NotesWhy aren't Java GUIs easier? I don't want to exaggerate the difficulties of working with Java GUIs because they are much easier to build... in Visual Basic, for example. Flexibility in the big Java program 

General

Java new arraylist
Java ArrayList object is created with the reference of List interface Object is also created directly by the ArrayList class Java New Arraylist..."}; //ArrayList list=new ArrayList(); List list=new ArrayList(); list.add(ar[0 

Java Beginners

opening new window - Java Beginners
opening new window  Hi All, I have two classes with me , lets say A and B.when I press a button in class A , the class B should open in a new window.i.e., I want to know, how a new window(B) can be opened by clicking a button 

Design concepts & design patterns Questions

about the concept - Design concepts & design patterns
the concept "object oriented technology" and how it is differ from "structured langauge".  Object Oriented Language http://www.roseindia.net/java/master-java/java-object-oriented-language.shtml 

Java Beginners

Need to decide technologies to create new social site web application in java
Need to decide technologies to create new social site web application in java  Hi, I want to create a social site in java, j2ee which should support thousands of user. I want to keep it very simple and light. So few of my 

Java Interview Questions

java
java  explain object oriented concept in java 

Java Beginners

for writting java program why we are taking more than one class
for writting java program why we are taking more than one class  for writting java program only one class is enough but why we are taking more than one class 

Java Interview Questions

Why does Java provide both abstract class as well as interface
Why does Java provide both abstract class as well as interface  why does java have both abstract class as well as interface? what is the need or importance of having both 

Java Interview Questions

Java pointers
Java pointers  Why Java does not support pointers 

Java Interview Questions

Java pointers
Java pointers   Why Java does not support pointers 

Java Beginners

java
new to java   String s=new String("hello"); when the above statement...java declare two string values in single program  dear friends... { public static void main(String args[]) { String s=new String("hello"); s=new 

General

OOPs Concept
through the method overloading concept in java.  Method... OOPs Concept      ... the OOPs concepts along with  fundamentals  used to develop the java 

JDBC

What's new in JDBC 3.0?
changes in the data types support are added. The two new data types...What's new in JDBC 3.0? In this section we will learn about the new features of JDBC 3.0. The new version of JDBC 3.0 is released with many new features 

General

The new keyword
The new keyword       The new keyword in java programming language is used to create a new instance... an instance of a class or an array by using the new operator. Creating a simple java 

Java Beginners

Why is the main method declared static?
Why is the main method declared static?  Hi, Why is the main method... Java class always has the same signature, and we declare public static void main... without creating any instance for the java class, where we declared it. Any static 

Programming Tutorials

Implement mechanisms which support loose coupling between clients and components
Implement mechanisms which support loose...; Implement mechanisms which support loose coupling between... enterprise bean attributes. Access beans are Java 

Programming Tutorials

Java Questions & Java FAQ
: Why there are no global variables in Java? Answer: Global variables are globally accessible. Java does not support globally accessible variables... Java Questions & Java FAQ   

General Information

Global Positioning system facts
Global Positioning system facts Global positioning system facts are centred..., which support the installation of GPS devices. The GPS systems may... that GPS devices have brought a new wind to our security measures. For people 

Java Beginners

java
java  when i create parametrized constructor in main() class and i create new class with parametrized constructor than compile the program and .class... why 

Java Beginners

Java
Java  What's problem with this code? why output is not displaying... BookDemo { HashMap<String, Integer>hm=new HashMap<String, Integer>(); public static void main(String[] args) { BookDemo bm=new BookDemo 

Java Beginners

java
=new String("hello"); s=new String("world"); System.out.println(s); }} i am getting only output "world" why not "hello".plz tell me am new to java   hi Anitha, String s=new String("hello"); when the above statement is executed 

Java Beginners

How to create new arraylist using Java
someone provides online example how to create new arraylist in java programming. thnaks,   Hi, In java programming language you can create new...How to create new arraylist using Java  hi, I want to develop 

Java-Tutorials

Arrays in java 7
This tutorial describes the concept of Arrays in java

Advertisements Advertisements
 

 

 

DMCA.com