This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| class HomeScreen extends StatefulWidget { | |
| @override | |
| _HomeScreenState createState() => _HomeScreenState(); | |
| } | |
| class _HomeScreenState extends State<HomeScreen> { | |
| @override | |
| Widget build(BuildContext context) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'package:flutter/material.dart'; | |
| class SplashScreen extends StatefulWidget { | |
| @override | |
| _SplashScreenState createState() => _SplashScreenState(); | |
| } | |
| class _SplashScreenState extends State<SplashScreen> { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:belajarplashscreen/home_screen.dart'; | |
| import 'package:belajarplashscreen/splash_screen.dart'; | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| // This widget is the root of your application. | |
| @override | |
| Widget build(BuildContext context) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package EvaluasiBasicJava; | |
| import java.util.Scanner; | |
| /** | |
| * Created by nui on 4/12/2017. | |
| */ | |
| public class function { | |
| public static void main(String[] args) { | |
| Scanner input = new Scanner(System.in); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package EvaluasiBasicJava; | |
| import java.util.Scanner; | |
| /** | |
| * Created by nui on 4/12/2017. | |
| */ | |
| public class Demo { | |
| public static void main(String[] args) { | |
| Scanner input = new Scanner(System.in); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package collection; | |
| import java.util.HashMap; | |
| import java.util.Iterator; | |
| import java.util.Map; | |
| /** | |
| * Created by Alpin on 02/05/2017. | |
| */ | |
| public class CobaMap { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package collection; | |
| import java.util.HashSet; | |
| import java.util.Iterator; | |
| import java.util.Set; | |
| /** | |
| * Created by Alpin on 02/05/2017. | |
| */ | |
| public class CobaSet { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package collection; | |
| import java.util.ArrayList; | |
| import java.util.Iterator; | |
| /** | |
| * Created by Alpin on 02/05/2017. | |
| */ | |
| public class CobaList { | |
| public static void main(String[] args) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package exception; | |
| /** | |
| * Created by Alpin on 29/04/2017. | |
| */ | |
| public class StringIndex { | |
| public static void main(String[] args){ | |
| try{ | |
| String s = "Nama Saya Madi Alvin.".substring(-10, 20); |
NewerOlder