en.m.wikiversity.org
Wikiversity
Search results

Results 1 – 100 of 1,021
Java Programming/Introduction
This page was copied from Introduction to Java. Java is an object-oriented, cross platform, multi-purpose programming language produced by Sun Microsystems
10 KB (1,594 words) - 22:49, 20 January 2021
Learning Java
People often describe Java by comparing it to C++. In many ways, one could say it is a successor to the older programming languages. Java automatically handles
5 KB (678 words) - 15:48, 27 October 2020
Learning Java/Important Java classes
that is, to import all classes from the packages java.util, java.util.concurrent, java​.util.concurrent.atomic, java​.util.concurrent.locks, java.util.jar
7 KB (984 words) - 19:34, 19 April 2020
Learning Java/Introduction to Java
Java is an Object-Oriented, cross platform, multi-purpose programming language produced by Sun Microsystems. First released in 1995, it was developed
9 KB (1,271 words) - 19:27, 19 April 2020
Learning Java/Basic Java Language
the Java language, including variables, primitives, operators, statements and Java writing conventionsm. Everything in Java is written in classes. A Class
20 KB (2,470 words) - 21:21, 11 June 2021
Java Tutorial
Welcome to the Java Tutorial, a learning project of the Java Center! In this tutorial, you will learn all of the fundamentals of Java programming through
8 KB (400 words) - 11:52, 29 January 2017
Java Programming/Integer variables
stores the value 1 in that location, a process known as assignment, where the single equal sign character is the Java operator telling the computer to assign
18 KB (2,668 words) - 18:23, 10 December 2020
Java Programming/Boolean variables
Java is one of the languages that explicitly supports a primitive Boolean variable type. A primitive variable can be declared to be of type boolean and
5 KB (745 words) - 23:11, 2 August 2020
Java Programming/Classes
Programs in Java are composed of Classes. A class is an object with a specified set of fields, methods, static functions organized for modular use. Objects
4 KB (513 words) - 02:27, 24 September 2020
Learning Java/Error handling
All Java errors are handled as exceptions. Exceptions extend the base class, Exception. You might have seen the try and catch block used. This is a way
6 KB (788 words) - 02:45, 25 February 2018
Learning Java/Applets
Introduction Applets are Java programs that are used in Internet computing. They can be viewed using an applet viewer or any browser. An applet can perform
9 KB (1,257 words) - 19:42, 19 April 2020
Java Programming/Swing
About Swing Swing library is an official Java GUI toolkit released by Sun Microsystems. Swing is a lightweight component and does not use the native API's
2 KB (231 words) - 23:11, 2 August 2020
Learning Java/File IO
input/output is quite similar to the System.in and System.out that you already have begun using In Java, files can be represented by the class java.io.File
6 KB (799 words) - 10:00, 25 June 2021
Java Tutorial/Hello World!
programming in Java. Since this is the norm for first programs, your first program in Java will be the infamous "Hello World!". All this program does is display
4 KB (647 words) - 05:52, 12 January 2020
Programming Fundamentals/Functions/​Java
com/temperature-conversion.html // https://en.wikibooks.org/wiki/​Java​_Programming import java.util.*; class Main { private static Scanner input = new Scanner(System
2 KB (154 words) - 14:45, 19 April 2020
Java Tutorial/Trail: Java and Javascript
archive is the object that allows communication with the JavaScript engine. The content of the JAR is automatically available inside the Java environment
11 KB (1,005 words) - 20:05, 19 April 2020
Java Programming/Inheritance
In Java, the syntax for deriving a child class from a parent class is: class subclass extends superclass { // new characteristics of the subclass go here
4 KB (443 words) - 02:27, 24 September 2020
Web Science/Part1: Foundations of the web/Dynamic Web Content/Handling a post request in a Java Servlet
a post request in a Java Servlet edit MOOC index Learning goals Video Script Quiz Further reading Discussion See how a POST request is handled in a Java
70 bytes (601 words) - 15:57, 17 November 2014
Programming Fundamentals/Files/​Java
filename) { try { java.io.File file = new java.io.File(filename); java.io.BufferedWriter writer = new java​.io.BufferedWriter(new java​.io.FileWriter(file));
3 KB (346 words) - 14:43, 19 April 2020
Java Collections Overview
original collection. A drawback of collections is that they can't hold primitives. (They can, however, hold wrappers, like java.lang.Integer.) All collection
6 KB (235 words) - 02:34, 25 February 2018
Learning Java/Objects and Classes
of Java. Everything is done within classes. You already know how to create a class: public class NAME { } You can also have multiple classes in a single
11 KB (1,439 words) - 02:46, 30 October 2020
Java Tutorial/Installing Java
to do before we can learn Java is to install the software needed to develop and run Java programs. Most people have the Java Runtime Environment installed
3 KB (367 words) - 18:55, 18 August 2015
Learning Java/Help
Java Help. If you are requesting help, please create a new topic in == and ==. We will try to answer help of all kinds. If you know the answer to a problem
1 KB (211 words) - 01:57, 20 January 2016
Programming Fundamentals/Introduction/​Java
world!" // // References: // https://introcs.cs.princeton.edu/​java​/11hello/HelloWorld.​java​.html class hello { public static void main(String[] args) { System
698 bytes (70 words) - 14:48, 19 April 2020
Java
Programming in Java Learning Java Java programming tips Advanced Java Java Platform, Enterprise Edition This is a disambiguation page: a list of articles associated
333 bytes (77 words) - 00:12, 23 September 2019
Programming Fundamentals/Arrays/​Java
to find a given conversion. // // References: // https://www.mathsisfun.com/temperature-conversion.html // https://en.wikibooks.org/wiki/​Java​_Programming
3 KB (291 words) - 03:42, 19 April 2020
Programming Fundamentals/Strings/​Java
com/temperature-conversion.html // https://en.wikibooks.org/wiki/​Java​_Programming import java.util.*; class strings { private static Scanner input = new Scanner(System
2 KB (205 words) - 01:23, 17 April 2020
Programming Fundamentals/Objects/​Java
com/temperature-conversion.html // https://en.wikibooks.org/wiki/​Java​_Programming import java.util.*; class objects { public static void main(String[] args)
2 KB (225 words) - 14:53, 19 April 2020
Learning Java/Deployment
Ok, there are different ways of deploying Java programs, but for right now I am going to add an easy one. Jar files are basically .zip files but which
1 KB (235 words) - 22:39, 31 May 2018
More Java keyword flashcards
Flashcards for Java Keywords. Initial definitions from the Wikipediaw:​Java​_keywords as pointed to in Lesson 2 of the Wikiversity introductory Java course. Please
28 KB (262 words) - 23:10, 30 November 2012
Programming Fundamentals/Loops/​Java
increment values. // // References: // https://en.wikibooks.org/wiki/​Java​_Programming import java.util.*; public class Main { private static Scanner input = new
2 KB (233 words) - 14:51, 19 April 2020
Programming Fundamentals/Variables/​Java
com/temperature-conversion.html // https://en.wikibooks.org/wiki/​Java​_Programming import java.util.Scanner; class variables { public static void main(String[]
1,018 bytes (103 words) - 14:55, 19 April 2020
Programming Fundamentals/Conditions/​Java
com/temperature-conversion.html // https://en.wikibooks.org/wiki/​Java​_Programming import java.util.*; class Main { private static Scanner input = new Scanner(System
3 KB (333 words) - 14:40, 19 April 2020
JavaScript/Basic JavaScript
Introduction Test Basic JavaScript JavaScript is a popular web-page scripting language, and is supported by almost every browser. It adds interactivity
9 KB (604 words) - 20:23, 1 November 2020
Learning Java/Inheritance
that represents eating is localized in one place in our codebase. You will become very familiar with inheritance as you use the Java standard library, as
4 KB (544 words) - 02:46, 30 October 2020
Advanced Java
Learning Java or Introduction to Programming in Java Portal: Computer Science School: Computer Science Department: Java Level: Advanced Advanced Java offers
3 KB (135 words) - 21:08, 25 March 2016
Java Tutorial/Intermediate GUIs/A wiki editor
java.awt.BorderLayout; import java.awt.CardLayout; import java.awt.FlowLayout; import java​.awt.event.ActionEvent; import java​.awt.event.ActionListener; import
4 KB (451 words) - 19:39, 19 April 2020
Web Science/Part1: Foundations of the web/Dynamic Web Content/Client side JavaScript
</form> </body> </html> 1 How can JavaScript help while filling out a web form? 2 What problems come along with JavaScript? no further reading defined
70 bytes (436 words) - 15:58, 17 November 2014
JavaScript Programming/Variables and Expressions
lesson introduces JavaScript variables, data types, expressions, and operators. Objectives and skills for this lesson include: Apply JavaScript best practices
15 KB (1,574 words) - 23:54, 7 February 2021
Learning Java/Decision Structures
decision is made at runtime based on a given condition. Code contained in a loop is repeated; how many times is also decided at runtime. Java has a specific
15 KB (2,074 words) - 02:46, 30 October 2020
JavaScript Programming/Date and Time
Time on a Web Page W3Schools: JavaScript Date Objects W3Schools: JavaScript Date Formats W3Schools: JavaScript Date Get Methods W3Schools: JavaScript Date
7 KB (819 words) - 22:44, 26 March 2021
Learning Java/Fundamental exercises
before this and make their name with a title1 (1 equal sign). You are ready to move on! Inheritance. Note that it is not complete... Back to Java Main Page
1 KB (151 words) - 02:45, 25 February 2018
Java Programming/Java Discussion Forum
This forum is used to discuss topics relating to the Introduction to Programming in Java course. Please post any questions here, and our instructors will
609 bytes (82 words) - 23:11, 2 August 2020
Practical object oriented game design in Java
There is a project here at Wikiversity to enable Java applets from the pages served by the mediawiki software.Interactive_labs_(​Java​_applet) This is probably
6 KB (1,026 words) - 03:58, 27 April 2016
Web Design/JavaScript Challenges
the following code into a new HTML document and view it in your browser. <!DOCTYPE html> <html lang="en"> <head> <title>JavaScript Challenges</title>
44 KB (5,911 words) - 13:25, 19 March 2021
Java programming notes for Macintosh
new Java programmers using the Wikiversity Introduction to Programming in Java pages. This section has notes for OSX 10.4, but if you are using a different
6 KB (813 words) - 02:35, 25 February 2018
Java Platform, Enterprise Edition
The Java 2 Platform, Enterprise Edition (J2EE) is a set of specifications and practices that together enable solutions for developing, deploying, and
758 bytes (69 words) - 08:21, 8 January 2009
Web Design/JavaScript pen-n-paper activities
print them out and get together with some other learners in a sunny spot! See how many JavaScript errors you can spot in the following page: <html> <head>
8 KB (915 words) - 22:29, 12 February 2016
Java Programming/Mobile phones
You probably have a mobile phone with J2ME (Java 2 Micro-edition) and you want to know how to write a "hello world!" on your mobile phone. To develop
1 KB (134 words) - 23:11, 2 August 2020
Java Platform, Enterprise Edition/Java EE Tutorial/First Servlet
Create the source file HelloWorld.java. The content of the source file HelloWorld.java is given below. import java.io.*; import javax.servlet.*; import
4 KB (521 words) - 19:27, 19 April 2020
Java Platform, Enterprise Edition/Java EE Tutorial
This tutorial is intended to enable you programming in Java 2 Enterprise Edition (J2EE). You can start the tutorial here. Following are the chapters in
3 KB (89 words) - 10:57, 29 December 2016
Flashcards for Java keywords
Flashcards for Java Keywords. Initial definitions from the Wikipedia for Java keywords as pointed to in Lesson 2 of the Wikiversity introductory Java course.
27 KB (183 words) - 23:11, 30 November 2012
Java Tutorial/Control Structures I - Decision structures
if statement is used by itself. The structure is: if(boolean) { //Java code... } For example, if you wanted to say something like, "if 5 is not equal to
5 KB (478 words) - 16:59, 20 January 2020
Programming Fundamentals/Functions/​Java​Script
value; } else { output(text); var isr = new java​.io.InputStreamReader(​java​.lang.System.in); var br = new java​.io.BufferedReader(isr); var line = br.readLine();
2 KB (198 words) - 14:45, 19 April 2020
Real Time Java
Java system: Safety critical java is a Java specification request (JSR 302). The idea is to extend the usage of Java even for safety critical applications
8 KB (1,092 words) - 21:41, 29 April 2020
Java Platform, Enterprise Edition/Java EE Tutorial/An Introduction to JSP
that it contains Java code to generate the dynamic content. When a user accesses this page the Java code inside the page is converted to a servlet which
529 bytes (69 words) - 18:28, 6 October 2009
Applied Programming/Files/​Java
filename) { try { java.io.File file = new java.io.File(filename); java.io.BufferedWriter writer = new java​.io.BufferedWriter(new java​.io.FileWriter(file));
4 KB (419 words) - 15:10, 19 April 2020
Advanced Java/Java.util.List
A List is a subinterface of java.util.Collection that keeps its elements ordered (like an array) and allows duplicate elements (also like an array). In
648 bytes (52 words) - 00:39, 13 February 2018
Java Tutorial/Trail: Java-Gnome
... Java-gnome (Wikipedia) http://​java​-gnome.sourceforge.net/doc/ http://​java​-gnome.sourceforge.net/doc/api/4.1/ http://developer.gnome.org/
250 bytes (22 words) - 18:55, 18 August 2015
Java Platform, Enterprise Edition/Java EE Glossary
Java Beans Entity Bean JavaServer Page or JSP - A page of html that contain java codes, which runs on the Server and creates an html page, which is send
1,009 bytes (126 words) - 18:54, 18 October 2019
Java Tutorial/Trail: RMI
The Java Remote Method Invocation (RMI) system is a network communication framework for client–server communication. RMI is java-centric because the framework
5 KB (530 words) - 19:40, 19 April 2020
Java String Class
know basic Java to understand this One very useful function is the substring(int, int) method (or substring(int)). This method will return a string starting
3 KB (418 words) - 03:34, 14 March 2018
Java Tutorial/Trail: OpenOffice Java API
Java Uno API for OpenOffice (wiki.services.openoffice.org) http://codesnippets.services.openoffice.org/index.xml (Office, Writer, Calc) http://api.openoffice
836 bytes (75 words) - 18:55, 18 August 2015
JavaScript Programming/Libraries and Frameworks
YouTube: JavaScript Tutorial For Beginners #45 - JavaScript Libraries YouTube: Choosing Your JavaScript Framework What is the difference between a framework
3 KB (269 words) - 22:37, 5 May 2021
Learning Java/Swing and AWT
ways to create a GUI in Java. There is the AWT, which was the first one, and is older. Then there is Swing. Swing is a newer way of making a GUI. All objects
5 KB (704 words) - 02:47, 30 October 2020
Introductory Java
the first module as a reference, and proceed to module two. The second module is Introduction To Java, and covers the aspects of Java that are unique to
3 KB (240 words) - 00:13, 3 June 2018
Java Tutorial/Trail: Java Web Start
... Java Web Start (Wikipedia) Lesson: Java Web Start Java Web Start Guide
355 bytes (12 words) - 18:55, 18 August 2015
Applied Programming/Variables/​Java
https://www.w3resource.com/slides/​java​-coding-style-guide.php * * http://www.mathsisfun.com/temperature-conversion.html */ import java.util.Scanner; class Main
2 KB (174 words) - 15:16, 19 April 2020
Java Tutorial/Compiling Java sources code with GNU GCJ
GCJ is the GNU Compiler for Java GIJ is the GNU Interpreter for Java The GNU Compiler for the Java Programming Language (gcc.gnu.org) Compiling Java with
453 bytes (34 words) - 18:55, 18 August 2015
Applied Programming/Conditions/​Java
zero."); System.out.println("Temperature is invalid."); System.exit(0); } return fahrenheit; } catch (​java​.util.InputMismatchException exception) { System
4 KB (380 words) - 15:09, 19 April 2020
Applied Programming/Functions/​Java
com/slides/​java​-coding-style-guide.php * * https://en.wikipedia.org/wiki/Javadoc * * http://www.mathsisfun.com/temperature-conversion.html */ import java.util
2 KB (235 words) - 15:11, 19 April 2020
Applied Programming/Lists and Tuples/Java
filename) { try { java.io.File file = new java.io.File(filename); java.io.BufferedWriter writer = new java​.io.BufferedWriter(new java​.io.FileWriter(file));
12 KB (1,058 words) - 15:13, 19 April 2020
Interactive labs (Java applet)
of Java applets as a framework for the creation of Interactive labs for topics in Mathematics and the Physical Sciences. The use of Java applets as a framework
4 KB (574 words) - 21:53, 29 April 2020
Web Design/An Introduction to Programming with JavaScript
Design! As an example, Google Maps is just one application that uses JavaScript to enable excellent user interaction on a web page. But getting back to the
6 KB (749 words) - 12:38, 6 October 2019
Object-Oriented Programming/Introduction/​Java
https://www.w3resource.com/slides/​java​-coding-style-guide.php * * http://www.mathsisfun.com/temperature-conversion.html */ import java.util.Scanner; class Main
39 bytes (175 words) - 14:50, 31 July 2018
Programming Fundamentals/Arrays/​Java​Script
to find a given conversion. // // References: // https://www.mathsisfun.com/temperature-conversion.html // https://en.wikibooks.org/wiki/​Java​Script main();
3 KB (310 words) - 03:42, 19 April 2020
Java Tutorial/Beginning GUIs
". To create this program, you will: Create a source file A source file contains code, written in the Java programming language, that you and other programmers
5 KB (725 words) - 19:27, 19 April 2020
Programming Fundamentals/Conditions/​Java​Script
// https://en.wikibooks.org/wiki/​Java​Script main(); function main() { // main could either be an if-else structure or a switch-case structure var choice;
3 KB (368 words) - 14:40, 19 April 2020
Programming Fundamentals/Strings/​Java​Script
value; } else { output(text); var isr = new java​.io.InputStreamReader(​java​.lang.System.in); var br = new java​.io.BufferedReader(isr); var line = br.readLine();
2 KB (250 words) - 01:23, 17 April 2020
JavaScript Programming/Forms and Security
This lesson introduces JavaScript form processing and security. Objectives and skills for this lesson include: Complete and debug code that retrieves input
7 KB (825 words) - 02:03, 5 May 2021
JavaScript Programming/While Loops
This lesson introduces JavaScript while and do while loops. Objectives and skills for this lesson include: Complete and debug loops for; while; do; break;
10 KB (1,135 words) - 20:27, 28 February 2021
Java​Script/Advanced JavaScript
ocument_Object_Model_with_​Java​Script Finding names, identification, values, colors, and other settings is possible via JavaScript. var drawnName = document
7 KB (754 words) - 19:34, 19 April 2020
Applied Programming/Strings/​Java
string or press <Enter> to quit: * ... * * References: * None */ import java.util.Scanner; /** * Runs main program logic. */ class Main { public static
2 KB (239 words) - 15:15, 19 April 2020
Advanced Java/Reuse
as Inheritence. In Java, objects can be declared as an extension of another object. While there may be new or changed methods, Java will also inherit the
1 KB (234 words) - 02:42, 25 July 2017
Java Tutorial/Variables
as a single precision number float num2 = (float) 1.7; // Without the cast, the Java compiler will interpret a number with a decimal point // as a double
4 KB (343 words) - 21:25, 31 March 2018
Java​Script/​Java​Script Objects
objects is fundamental to a few (code) languages. Some object concepts can be emulated in JavaScript. Arrays are an example of an emulation which is consistent
7 KB (849 words) - 02:27, 24 September 2020
Programming Fundamentals/Loops/​Java​Script
value; } else { output(text); var isr = new java​.io.InputStreamReader(​java​.lang.System.in); var br = new java​.io.BufferedReader(isr); var line = br.readLine();
2 KB (263 words) - 14:51, 19 April 2020
Java Programming/Help
This is the help page for Introduction to Programming in Java. Please feel free to post questions here. It is recommended that each new topic should be
395 bytes (65 words) - 23:11, 2 August 2020
Web Science/Part1: Foundations of the web/Hypertext Transfer Protocol/A simple web server
java.io.IOException; import java.io.OutputStream; import java.net.Socket; import java.util.Date; /** * The purpose is to demonstrate how to build a simple
70 bytes (1,287 words) - 19:41, 3 September 2014
Java Tutorial/Trail: Java software testing
Unit testing in Java has become quite convenient with frameworks like JUnit. The test cases are classes in the same packages as the classes they are meant
2 KB (227 words) - 18:55, 18 August 2015
Applied Programming/Loops/​Java
com/slides/​java​-coding-style-guide.php * * https://en.wikipedia.org/wiki/Javadoc * * http://www.mathsisfun.com/temperature-conversion.html */ import java.util
5 KB (473 words) - 15:14, 19 April 2020
Programming Fundamentals/Variables/​Java​Script
org/wiki/JavaScript var fahrenheit = input("Enter Fahrenheit temperature:"); var celsius = (fahrenheit - 32) * 5 / 9; output(fahrenheit + "° Fahrenheit is "
1 KB (156 words) - 14:55, 19 April 2020
Java Tutorial/Trail: The Reflection API
In case of a socket this allows to implement a protocol much like RMI but using XML-formatted data. JRML is used as an abbreviation for "Java Remote Method
9 KB (885 words) - 19:45, 19 April 2020
Java Programing
This is going to be an article on Java Programing. Java is a very diverse programing language. There is a lot to learn. First you have to get an IDE. The
970 bytes (106 words) - 21:24, 8 May 2014
Java Tutorial/Trail: Annotations
compiler or even by a ClassLoader. The convenience of using just fd_t as the type name is not available in Java because Java does not have a preprocessor like
2 KB (242 words) - 19:40, 19 April 2020
Cloud9 IDE/Java
for Java development, but by default the Java Development Kit (JDK) is not installed. This is indicated by the following error when running a .java file:
692 bytes (92 words) - 01:19, 24 September 2020
JavaScript/Test Basic JavaScript
after learning basic JavaScript. The test requires the use of the alert() object. If you are still learning how to put JavaScript in a context for its use
4 KB (258 words) - 02:27, 24 September 2020
Java Tutorial/Applets
develop it. An applet used by Wikipedia is the Cortado player, which can be selected as a video player. Java applet (Wikipedia) Trail: Java and Javascript
312 bytes (39 words) - 18:55, 18 August 2015
Java Platform, Enterprise Edition/Java EE Tutorial/Installing Application Server
Tomcat is an example of application server that implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems. Tomcat
541 bytes (58 words) - 02:35, 25 February 2018
JavaScript
JavaScript is one of the most powerful programming languages in common use. However, even those proficient in JavaScript often do not realize its power
2 KB (176 words) - 13:59, 27 March 2021
View (previous 100 | next 100) (20 | 50 | 100 | 250 | 500)
Wikiversity
Content is available under CC BY-SA 3.0 unless otherwise noted.
Privacy policy
Terms of Use
Desktop
HomeRandomLog inSettingsDonateAbout WikiversityDisclaimers