About: Method / Void   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

This article was featured on the Main Page Image:LinkFA-star.png A method or void is a piece of code which can be called upon to: * Change a variable * Call upon other voids * Write to a file * Create a new file A static void cannot call upon a specific instance inside the class (e.g. cannot use "this." to refer to something). To clear things up, here is an example: public class ExampleClass {public static void StaticExample() { // static method code } public void InstanceExample() { // instance method code here // can use THIS } } objMyExample.InstanceExample();

AttributesValues
rdfs:label
  • Method / Void
rdfs:comment
  • This article was featured on the Main Page Image:LinkFA-star.png A method or void is a piece of code which can be called upon to: * Change a variable * Call upon other voids * Write to a file * Create a new file A static void cannot call upon a specific instance inside the class (e.g. cannot use "this." to refer to something). To clear things up, here is an example: public class ExampleClass {public static void StaticExample() { // static method code } public void InstanceExample() { // instance method code here // can use THIS } } objMyExample.InstanceExample();
dcterms:subject
dbkwik:moparscape/...iPageUsesTemplate
abstract
  • This article was featured on the Main Page Image:LinkFA-star.png A method or void is a piece of code which can be called upon to: * Change a variable * Call upon other voids * Write to a file * Create a new file A static void cannot call upon a specific instance inside the class (e.g. cannot use "this." to refer to something). To clear things up, here is an example: public class ExampleClass {public static void StaticExample() { // static method code } public void InstanceExample() { // instance method code here // can use THIS } } So, "static" must be put before "void" when using a static void, whereas you only need to put "void" for a normal one. // Static method is called -- no instance is involved ExampleClass.StaticExample(); // Instance method is called ExampleClass objMyExample = new ExampleClass(); objMyExample.InstanceExample(); This shows what I mean when I say you cannot use this, etc.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software