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 com.mycompany.belajarjava6; | |
| import java.io.IOException; | |
| import java.nio.file.Files; | |
| import java.nio.file.Path; | |
| import java.nio.file.Paths; | |
| public class MoveFile { | |
| 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 com.mycompany.belajarjava6; | |
| import java.io.File; | |
| import java.io.FileWriter; | |
| import java.io.IOException; | |
| public class BelajarFiles { | |
| public static void main(String[] args) { | |
| try { |
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 com.mycompany.belajarjava6; | |
| public class ArrayString { | |
| public static void main(String[] args) { | |
| String[] buah={"Apel","Jeruk","Semangka","Durian"}; | |
| // akses Jeruk dan Durian | |
| System.out.println("Buah :"+buah[1]+" dan Buah:"+buah[3]); | |
| System.out.println("Size :"+buah.length); | |
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 com.mycompany.belajarjava6; | |
| import java.io.File; | |
| import java.io.FileWriter; | |
| import java.io.IOException; | |
| public class BelajarFiles { | |
| public static void main(String[] args) { | |
| try { |
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 com.mycompany.belajarjava6; | |
| import java.util.Arrays; | |
| public class ArrayMultidimensional { | |
| public static void main(String[] args) { | |
| int[][] matriks ={{3,2,1},{7,4,1},{2,1,3}}; | |
| int[][] hasilMatriks= new int[3][3]; | |
| // akses angka 5 dan 3 |
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 com.mycompany.belajarjava6; | |
| import java.util.Arrays; | |
| public class ArrayMultidimensional { | |
| public static void main(String[] args) { | |
| int[][] matriks ={{4,5,6},{3,2,1}}; | |
| int[][] hasilMatriks= new int[2][3]; | |
| // akses angka 5 dan 3 |
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
| @extends('blog.layout') | |
| @section('content') | |
| <div class="row"> | |
| <div class="col-lg-12 margin-tb"> | |
| <div> | |
| <h2>Edit Blog</h2> | |
| </div> | |
| <div> | |
| <a class="btn btn-primary" href="{{ route('blog.index') }}"> Back</a> |
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
| @extends('blog.layout') | |
| @section('content') | |
| <h3> Ini Halaman Blog </h3> | |
| <a class="btn btn-success" href="{{ route('blog.create')}}">Buat Baru</a> | |
| @if($message = Session::get('success')) | |
| <div class="alert alert-success"> |
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
| @extends('blog.layout') | |
| @section('content') | |
| <div class="row"> | |
| <div class="col-lg-12 margin-tb"> | |
| <div> | |
| <h2>Add New Blog</h2> | |
| </div> | |
| <div> | |
| <a class="btn btn-primary" href="{{ route('blog.index') }}"> Back</a> |
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
| @extends('siswa.layout') | |
| @section('content') | |
| <div class="row"> | |
| <div class="col-lg-12 margin-tb"> | |
| <div> | |
| <h2>Add New Student</h2> | |
| </div> | |
| <div> | |
| <a class="btn btn-primary" href="{{ route('siswa.index') }}"> Back</a> |