About 8,310,000 results
Open links in new tab
  1. In laymans terms, what does 'static' mean in Java?

    The static keyword can be used in several different ways in Java and in almost all cases it is a modifier which means the thing it is modifying is usable without an enclosing object instance. Java is an …

  2. inheritance - What is an interface in Java? - Stack Overflow

    Jan 10, 2021 · From oracle documentation page ( post Java 8 release) : In the Java programming language, an interface is a reference type, similar to a class, that can contain only constants, method …

  3. What is the difference between declaration and definition in Java?

    Jul 30, 2012 · The Java Language Specification specifies and uses the term "declaration" extensively, but it does not use "definition" except as a normal English word. My evidence is that the term …

  4. java - What are classes, references, and objects? - Stack Overflow

    Feb 10, 2012 · 53 I've been programming Java for 2 years now, and I have encountered a problem where I couldn't understand and differentiate class, reference, and an object. I am not sure if a class …

  5. java - What's the difference between primitive and reference types ...

    @Eng.Fouad: passing an argument by reference is well defined in C. Understanding of these concepts [pointers, values, pass by reference] in C almost ensures understanding the difference between …

  6. java - what is meaning of instance in programming? - Stack Overflow

    Dec 9, 2021 · 6 Here is a pretty standard definition: An instance, in object-oriented programming (OOP), is a specific realization of any object. An object may be varied in a number of ways. Each realized …

  7. java - What is meant by immutable? - Stack Overflow

    Nov 11, 2008 · Respect the above definition which could be checked by looking into the Sting.java source code. What are the advantages/disadvantages of the immutable objects? immutable types …

  8. Java inner class and static nested class - Stack Overflow

    Sep 16, 2008 · According to the Java documentation, there is a difference between an inner class and a static nested class -- static nested classes don't have references to their enclosing class and are …

  9. What does the 'static' keyword do in a class? - Stack Overflow

    Thus static is a non-class modifier used in Java and can be applied to the following members: Variables Methods Blocks Classes (more specifically, nested classes) When a member is declared static, then …

  10. What are Java's primitive types? - Stack Overflow

    Java also allows programmers to define their own types (user defined types). For primitive types Java has built-in support. Primitive types are predefined by the Java language and are named by a …