What do you want to save?
Add Code snippet
New code examples in category Java
-
Awgiedawgie 2022-03-17 04:00:06
the game crashed whilst unexpected error error: java.lang.indexoutofboundsexception exit code: -1
java.lang.NullPointerException: Batching chunks at net.minecraft.util.math.BlockPos.<init>(SourceFile:40) at net.minecraft.client.renderer.chunk.ChunkRenderWorker.func_178474_a(SourceFile:65) at net.minecraft.client.renderer.chunk.ChunkRenderWork... Add solution -
Awgiedawgie 2022-03-17 03:45:03
jsp search query
<%@page import="java.sql.DriverManager"%> <%@page import="java.sql.ResultSet"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <% String id = request.ge... Add solution -
Awgiedawgie 2022-03-17 02:05:01
java accept 2 integers from the user, and using a method add these numbers and print the result
static void M1(int num1, int num2) { int sum = num1 + num2; System.out.println("sum of " + num1 + " and " + num2+ " = " + sum); } public static void main(String[] args) { // using Methods... Add solution -
Awgiedawgie 2022-03-17 01:50:11
how to get data from textfield in java
import java.io.File; // Import the File class import java.io.FileNotFoundException; // Import this class to handle errors import java.util.Scanner; // Import the Scanner class to read text files public class ReadFile { public static void main(String[... Add solution -
Phoenix Logan 2022-03-17 01:20:01
open google maps cycling navigation intent
Uri gmmIntentUri = Uri.parse("google.navigation:q=Taronga+Zoo,+Sydney+Australia"); Intent mapIntent = new Intent(Intent.ACTION_VIEW, gmmIntentUri);mapIntent.setPackage("com.google.android.apps.maps"); startActivity(mapIntent); Add solution -
Awgiedawgie 2022-03-17 00:25:04
java how to print
//print and create new line after System.out.println("text"); System.out.println(String); //You can use any variable type, not just strings, although //they are the most common //Print without creating a new line System.out.print("text&quo... Add solution
Best helpers
Ranking is empty